package com.site.wisdom_construction.responseEntity;

import com.site.wisdom_construction.entity.personnelModule.SafetyTraining;
import com.site.wisdom_construction.entity.personnelModule.SafetyTrainingWorkers;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.sql.Date;
import java.util.List;

/**
 * @Description  
 * @Author  DYF
 * @Date 2022-01-05 
 */
@ApiModel (value ="安全教育返回实体类",description = "SafetyTrainingResult")
public class SafetyTrainingResult {
	/**
	 * 安全培训表ID
	 */
   	@ApiModelProperty(value = "安全培训表ID", name = "id")
	private Integer id;

	/**
	 * 项目ID
	 */
   	@ApiModelProperty(value = "项目ID", name = "projectId")
	private Integer projectId;

	/**
	 * 培训主题
	 */
   	@ApiModelProperty(value = "培训主题", name = "trainingTopic")
	private String trainingTopic;

	/**
	 * 培训类型
	 */
   	@ApiModelProperty(value = "培训类型", name = "trainingType")
	private String trainingType;

	/**
	 * 培训人
	 */
   	@ApiModelProperty(value = "培训人", name = "trainingStaff")
	private String trainingStaff;

	/**
	 * 培训课时(小时)
	 */
   	@ApiModelProperty(value = "培训课时(小时)", name = "trainingTime")
	private String trainingTime;

	/**
	 * 培训日期
	 */
   	@ApiModelProperty(value = "培训日期", name = "trainingDate")
	private Date trainingDate;

	/**
	 * 培训人数
	 */
   	@ApiModelProperty(value = "培训人数", name = "trainingNumber")
	private Integer trainingNumber;

	/**
	 * 培训图片
	 */
	@ApiModelProperty(value = "培训图片", name = "trainPicture")
	private String trainPicture;

	/**
	 * 附件
	 */
   	@ApiModelProperty(value = "附件", name = "accessory")
	private String accessory;

	/**
	 * 劳务人员信息
	 */
	@ApiModelProperty(value = "劳务人员信息集合", name = "safetyTrainingWorkersList")
	private List<SafetyTrainingWorkers> safetyTrainingWorkersList;

	public SafetyTrainingResult(){ super(); }

	public SafetyTrainingResult(Integer id, Integer projectId, String trainingTopic, String trainingType, String trainingStaff, String trainingTime, Date trainingDate, Integer trainingNumber, String trainPicture, String accessory, List<SafetyTrainingWorkers> safetyTrainingWorkersList) {
		this.id = id;
		this.projectId = projectId;
		this.trainingTopic = trainingTopic;
		this.trainingType = trainingType;
		this.trainingStaff = trainingStaff;
		this.trainingTime = trainingTime;
		this.trainingDate = trainingDate;
		this.trainingNumber = trainingNumber;
		this.trainPicture = trainPicture;
		this.accessory = accessory;
		this.safetyTrainingWorkersList = safetyTrainingWorkersList;
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getProjectId() {
		return this.projectId;
	}

	public void setProjectId(Integer projectId) {
		this.projectId = projectId;
	}

	public String getTrainingTopic() {
		return this.trainingTopic;
	}

	public void setTrainingTopic(String trainingTopic) {
		this.trainingTopic = trainingTopic;
	}

	public String getTrainingType() {
		return this.trainingType;
	}

	public void setTrainingType(String trainingType) {
		this.trainingType = trainingType;
	}

	public String getTrainingStaff() {
		return this.trainingStaff;
	}

	public void setTrainingStaff(String trainingStaff) {
		this.trainingStaff = trainingStaff;
	}

	public String getTrainingTime() {
		return this.trainingTime;
	}

	public void setTrainingTime(String trainingTime) {
		this.trainingTime = trainingTime;
	}

	public Date getTrainingDate() {
		return this.trainingDate;
	}

	public void setTrainingDate(Date trainingDate) {
		this.trainingDate = trainingDate;
	}

	public Integer getTrainingNumber() {
		return this.trainingNumber;
	}

	public void setTrainingNumber(Integer trainingNumber) {
		this.trainingNumber = trainingNumber;
	}

	public String getAccessory() {
		return this.accessory;
	}

	public void setAccessory(String accessory) {
		this.accessory = accessory;
	}

	public List<SafetyTrainingWorkers> getSafetyTrainingWorkersList() {
		return safetyTrainingWorkersList;
	}

	public void setSafetyTrainingWorkersList(List<SafetyTrainingWorkers> safetyTrainingWorkersList) {
		this.safetyTrainingWorkersList = safetyTrainingWorkersList;
	}

	public String getTrainPicture() {
		return trainPicture;
	}

	public void setTrainPicture(String trainPicture) {
		this.trainPicture = trainPicture;
	}

	@Override
	public String toString() {
		return "{" +
				"id=" + id +
				", projectId=" + projectId +
				", trainingTopic='" + trainingTopic + '\'' +
				", trainingType='" + trainingType + '\'' +
				", trainingStaff='" + trainingStaff + '\'' +
				", trainingTime='" + trainingTime + '\'' +
				", trainingDate=" + trainingDate +
				", trainingNumber=" + trainingNumber +
				", trainPicture='" + trainPicture + '\'' +
				", accessory='" + accessory + '\'' +
				", safetyTrainingWorkersList=" + safetyTrainingWorkersList +
				'}';
	}
}
